package cn.lysoy.demo.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName region
 */
@TableName(value ="region")
@Data
public class Region implements Serializable {
    /**
     * 区域主键
     */
    @TableId(value = "id")
    private String id;

    /**
     * 区域名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 区域上级标识
     */
    @TableField(value = "pid")
    private String pid;

    /**
     * 地名简称
     */
    @TableField(value = "sname")
    private String sname;

    /**
     * 区域等级
     */
    @TableField(value = "level")
    private Integer level;

    /**
     * 区域编码
     */
    @TableField(value = "citycode")
    private String citycode;

    /**
     * 邮政编码
     */
    @TableField(value = "yzcode")
    private String yzcode;

    /**
     * 组合名称
     */
    @TableField(value = "mername")
    private String mername;

    /**
     * 
     */
    @TableField(value = "Lng")
    private Double lng;

    /**
     * 
     */
    @TableField(value = "Lat")
    private Double lat;

    /**
     * 
     */
    @TableField(value = "pinyin")
    private String pinyin;

    /**
     * 字母简码
     */
    @TableField(value = "alpha_code")
    private String alphaCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}